evaluate the integral of a constant